﻿
namespace Community.CsharpSqlite.WP.SqliteDataProvider.Base
{
    /// <summary>
    /// 
    /// </summary>
    public enum CommandBehavior
    {
        /// <summary>
        /// When the command is executed, the associated Connection 
        /// object is closed when the associated DataReader object 
        /// is closed
        /// </summary>
        CloseConnection,

        /// <summary>
        /// The query returns column and primary key information
        /// </summary>
        KeyInfo,

        /// <summary>
        /// The query returns column information only and does not
        /// affect the database state
        /// </summary>
        SchemaOnly,

        /// <summary>
        /// The results of the query are read sequentially to the 
        /// column level
        /// </summary>
        SequentialAccess,
        
        /// <summary>
        /// The query returns a single result. Execution of the
        /// query may affect the database state
        /// </summary>
        SingleResult,
        
        /// <summary>
        /// The query is expected to return a single row. Execution
        /// of the query may affect the database state
        /// </summary>
        SingleRow
    }

}
